PublishPressFuture\Framework\WordPress\Models\PostModel S

Total Complexity 31
Dependencies 3
Dependents 0
Total lines 240
Lines of code 122
Logical lines of code 57
Comment lines 48
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
getPostInstance()
S
65 4 9
__construct()
S
65 3 10
updateMeta()
S
61 2 13
deleteMeta()
S
62 2 12
getTerms()
S
66 2 8
getTermIDs()
S
68 2 7
getTermNames()
S
68 2 7
stick()
S
77 1 4
delete()
S
79 1 3
setTerms()
S
78 1 3
appendTerms()
S
78 1 3
getTitle()
S
80 1 3
getPostId()
S
82 1 3
getPermalink()
S
80 1 3
setPostStatus()
S
65 1 10
getPostType()
S
80 1 3
postExists()
S
76 1 4
getMeta()
S
79 1 3
addMeta()
S
79 1 3
update()
S
68 1 7
unstick()
S
77 1 4